package com.shengyin.ec.service.account;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import org.apache.commons.beanutils.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shengyin.ec.model.dao.account.DistrictDao;
import com.shengyin.ec.model.entity.District;

@Service("districtService")
public class DistrictServiceImpl  implements DistrictService{
	
	@Autowired
	DistrictDao districtDao;
	
	@Override
	public List<District> getDistrictListByCityId(int id){
		List<District> listDistrict = districtDao.getDistrictListByCityId(id);
		return listDistrict;
	}
}